$(document).ready(function() {
			
			$("#j_username").mask("999.999.999-99", {placeholder:"_"});
			$("#j_username").focus();
			$("#formID").validationEngine();
		});
		

function completaHref() {
	if (!$("#formID").validationEngine('validateField', "#j_username")) {

		$("#login-box").block({
			message : "<img border='0' src='" + "img/ajax-loader.gif" + "'/> &nbsp;Enviando email com senha renovada...",
			css : {
				'border' : '0px',
				'background' : 'transparent',
				'color' : 'white'
			}
		});

		var username = $('#j_username').val();
		$("#esqueceuSenha").attr('href', "usuarios/esqueceuSenha?username=" + username);
	} else {
		return false;
	}
}


//function criarCadastroBancoTalentos() {
//		$('#formID').validationEngine('hideAll');
//		window.location = "criarNovoUsuarioBancoDeTalentos";
//}